namespace Hospital.POCOModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Appointment")]
    public partial class Appointment
    {
        public int? AdminUser { get; set; }

        public int? specialist { get; set; }

        [Key]
        [Column(Order = 0)]
        public DateTime Createtime { get; set; }

        [Key]
        [Column(Order = 1)]
        public DateTime Clinictime { get; set; }

        public virtual AdminUser AdminUser1 { get; set; }

        public virtual Specialist Specialist1 { get; set; }
    }
}
